<html>
<head>
    <title>-:: Trang chủ ::-</title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta name="Desciption" content="This web design site is a very good site with wonderful web design resources" />
    <meta name="keywords" content="This,web,design,site,is,a,very,good,site,with,wonderful,web,design,resources" />
    
<?php 
   	echo $this->headTitle();
	
	echo $this->headLink()->prependStylesheet('/public/templates/default/css/style.css')
						
						->prependStylesheet('/public/css/demos.css')
						
						->prependStylesheet('/public/css/base/jquery.ui.all.css');
						
	echo $this->headScript()->appendFile("/public/js/jquery.min.js")
	//
							// == IMAGES SLIDER
							->appendFile("/public/templates/default/js/easySlider1.7.js")
							
							->appendFile("/public/js/jquery.validate.js")
	
							->appendFile("/public/js/external/jquery.bgiframe-2.1.2.js")
							
							
							
							->appendFile("/public/js/ui/jquery.ui.core.js")
							->appendFile("/public/js/ui/jquery.ui.widget.js")
							->appendFile("/public/js/ui/jquery.ui.mouse.js")
							->appendFile("/public/js/ui/jquery.ui.draggable.js")
							->appendFile("/public/js/ui/jquery.ui.button.js")
							->appendFile("/public/js/ui/jquery.ui.position.js")
							->appendFile("/public/js/ui/jquery.ui.resizable.js")
							->appendFile("/public/js/ui/jquery.ui.dialog.js")
							->appendFile("/public/js/ui/jquery.effects.core.js")
							//DATE PICKER
							->appendFile("/public/js/ui/jquery.ui.datepicker.js")
							->appendFile("/public/js/ui/jquery.ui.datepicker-vi.js")
							//randpost
							->appendFile("/public/templates/default/js/jquery.cycle.all.js")
							->appendFile("/public/templates/default/js/executeJs.js")
														
							;
	
	//
	// == in cac link toi file script trong moi controller						
//	echo $this->headScript();								
								
?>
    
    
</head>

<body>
    <center>
    <div class="wrapper">
        <div class="header">
            <div style="float:left; margin-left:110px; margin-top:20px;">
            	<a href="<?php echo $this->baseUrl('default/index/');?>">
                	<img src="<?php echo TEMPLATE_PATH."/default"; ?>/images/logo.jpg" style="float:left;" />
                </a>
                <div style="float:left;  text-align:left; font-family:tahoma; font-size:20pt; color:#636363; margin-left:5px;margin-top:5px;">
                    Đà Nẵng<b>Software Park</b><br />
                    <span style="float:left;  text-align:left; font-family:tahoma; font-size:10pt; color:#b1b1b1;">
                        <b>&nbsp;Công viên phần mềm Đà Nẵng</b>
                    </span>
                </div>
            	
            </div>
            
            <div style="float:right; margin-right:30px; margin-top:50px; text-align:left; font-family:tahoma; font-size:12pt; color:#636363;">
                   Trung tâm<br /><b>Phát Triển Hạ Tầng CNTT Đà Nẵng </b>                    
            </div>
            
            <?php if (Zend_Auth::getInstance()->hasIdentity())
            		echo '<p class="lnkLogin">Xin chào: 
            				<strong>'.Zend_Auth::getInstance()->getIdentity()->hoTen.' </strong> 
            				<a href="'.$this->baseUrl('default/login/logout').'">Thoát</a>
            				<a href="'.$this->baseUrl('admin/').'">Vào trang quản trị</a>';
            	?>
        
        </div>
        <?php ?>
        <div class="menu">
<!--	        SHOW MENU AUTO-->
	        <?php 
	        $view = new ExtLb_View_Helper_Menu();
	        $view->menu();
	        ?>
            
            
            <div style="float:right; padding-right:25px;padding-top:12px;">
            <input type="image" src="<?php echo TEMPLATE_PATH."/default"; ?>/images/go.jpg" />
            </div>
            <div style="float:right;padding-right:8px;padding-top:14px;">
            <form action="<?php echo $this->baseUrl('default/search/');?>" method="get">
            	<input title="Nhập vào tiêu đề bài viết cần tìm" style="border:none; height:18px;width:130px;"  type="text"  name="search_box"/>
            </form>
            </div>
        
        </div>
        
        <div class="wrapper">  
        <?php echo $this->layout()->content;
        ?>
        </div>

    	
        <div class="footer">
        	<p>Copyright Group 2 (c) 2012, All rights Reserved. Designed by 
            	<a title="Softwarepark" href="">group 2 </a>
            </p>
            <?php 
            $file = fopen(WEB_ROOT."/docs/count.ini","r");			
        	$count=fgets($file);
        	fclose($file);
        	
        	$count=(int)$count+1;
        	$file=fopen(WEB_ROOT."/docs/count.ini","w");
        	fwrite($file,$count);
        	fclose($file);
            ?>
            <p class="countview">Lượt truy cập: <strong><?php echo $count;?></strong></p>
        </div>
        
<!--        DONG GOP Y KIEN-->
		<div class="comment" id="dialog-comment" title="Đóng góp ý kiến">
			<form action="<?php echo $this->baseUrl('default/comment/add');?>" method="post" class="validate-form">
				<table>
					<tr>
						<td>Họ và tên:</td>
						<td><input type="text" name="txtName" class="required" /></td>
					</tr>
					<tr>
						<td>Email:</td>
						<td><input type="text" name="txtEmail" class="email required" /></td>
					</tr>
					<tr>
						<td>Chủ đề:</td>
						<td><input type="text" name="txtSubject" class="required" /></td>
					</tr>
					<tr>
						<td>Nội dung:</td>
						<td><textarea rows="10" cols="28" name="areaContent" class="required"></textarea> </td>
					</tr>
				</table>
				<input type="submit" name="cmdAdd" value="Góp ý">
			</form>
			
		</div>
	
    
    </div>
</center>
</body>
</html>